<div id="invoiceSellerInfoModel" class="modal fade" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
    <div class="modal-dialog modal-lg">
        <div class="modal-content">
            <div class="modal-body">
                <h3 class="m-t-none m-b">
                    <span v-if="invoiceSellerModal.edit">
                        <vc:i18n name="修改销方信息" namespace="invoiceSellerInfo"></vc:i18n>
                    </span>
                    <span v-else>
                        <vc:i18n name="添加销方信息" namespace="invoiceSellerInfo"></vc:i18n>
                    </span>
                </h3>
                <div class="ibox-content">
                    <div class="form-group row">
                        <label class="col-sm-2 col-form-label">
                            <span>
                                <vc:i18n name="编号" namespace="invoiceSellerInfo"></vc:i18n>
                            </span>
                        </label>
                        <div class="col-sm-10">
                            <input v-model="invoiceSellerModal.no" :readonly="invoiceSellerModal.edit" type="text" :placeholder="vc.i18n('可选项，编号','no')" class="form-control" />
                        </div>
                    </div>
                    <div class="form-group row">
                        <label class="col-sm-2 col-form-label">
                            <span>
                                <vc:i18n name="销售方名称" namespace="invoiceSellerInfo"></vc:i18n>
                            </span>
                        </label>
                        <div class="col-sm-10">
                            <input v-model="invoiceSellerModal.sellerName" type="text" :placeholder="vc.i18n('必填项，销售方名称','sellerName')" class="form-control" />
                        </div>
                    </div>
                    <div class="form-group row">
                        <label class="col-sm-2 col-form-label">
                            <span>
                                <vc:i18n name="销售税号" namespace="invoiceSellerInfo"></vc:i18n>
                            </span>
                        </label>
                        <div class="col-sm-10">
                            <input v-model="invoiceSellerModal.sellerTaxNo" type="text" :placeholder="vc.i18n('必填项，销售方名称','sellerName')" class="form-control" />
                        </div>
                    </div>
                    <div class="form-group row">
                        <label class="col-sm-2 col-form-label">
                            <span>
                                <vc:i18n name="销方电话" namespace="invoiceSellerInfo"></vc:i18n>
                            </span>
                        </label>
                        <div class="col-sm-10">
                            <input v-model="invoiceSellerModal.sellerPhone" type="text" :placeholder="vc.i18n('必填项，销售方电话','sellerPhone')" class="form-control" />
                        </div>
                    </div>
                    <div class="form-group row">
                        <label class="col-sm-2 col-form-label">
                            <span>
                                <vc:i18n name="销方地址" namespace="invoiceSellerInfo"></vc:i18n>
                            </span>
                        </label>
                        <div class="col-sm-10">
                            <input v-model="invoiceSellerModal.sellerAddress" type="text" :placeholder="vc.i18n('必填项，销售方地址','sellerAddress')" class="form-control" />
                        </div>
                    </div>
                    <div class="form-group row">
                        <label class="col-sm-2 col-form-label">
                            <span>
                                <vc:i18n name="销售方开户行" namespace="invoiceSellerInfo"></vc:i18n>
                            </span>
                        </label>
                        <div class="col-sm-10">
                            <input v-model="invoiceSellerModal.sellerBranchBank" type="text" :placeholder="vc.i18n('必填项，销售方开户行','sellerBranchBank')" class="form-control" />
                        </div>
                    </div>
                    <div class="form-group row">
                        <label class="col-sm-2 col-form-label">
                            <span>
                                <vc:i18n name="销售方开户账号" namespace="invoiceSellerInfo"></vc:i18n>
                            </span>
                        </label>
                        <div class="col-sm-10">
                            <input v-model="invoiceSellerModal.sellerBankAccount" type="text" :placeholder="vc.i18n('必填项，销售方开户行','sellerBranchBank')" class="form-control" />
                        </div>
                    </div>
                    <div class="form-group row">
                        <label class="col-sm-2 col-form-label">
                            <span>
                                <vc:i18n name="备注" namespace="invoiceSellerInfo"></vc:i18n>
                            </span>
                        </label>
                        <div class="col-sm-10">
                            <textarea v-model="invoiceSellerModal.remark" type="text" :placeholder="vc.i18n('可选项，备注','remark')" class="form-control"></textarea>
                        </div>
                    </div>
                </div>
                <div class="ibox-content">
                    <button class="btn btn-primary float-right" type="button"
                            v-on:click="saveSellerInfo()">
                        <i class="fa fa-check"></i>&nbsp;保存
                    </button>
                    <button type="button" class="btn btn-warning float-right" style="margin-right:20px;"
                            data-dismiss="modal">
                        <span>
                            <vc:i18n name="取消" namespace="invoiceSellerInfo"></vc:i18n>
                        </span>
                    </button>
                </div>
            </div>
        </div>
    </div>
</div>